add 2fa backup codes app#1171
Conversation
|
@ChristophWurst, thanks for your PR! By analyzing the annotation information on this pull request, we identified @bantu, @icewind1991 and @DeepDiver1975 to be potential reviewers |
2beb842 to
77dfd56
Compare
| </div> | ||
| <a class="two-factor-cancel" <?php print_unescaped($_['logout_attribute']); ?>><?php p($l->t('Cancel log in')) ?></a> | ||
| <?php if (!is_null($_['backupProvider'])): ?> | ||
| <a class="two-factor-cancel" href="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.TwoFactorChallenge.showChallenge', |
There was a problem hiding this comment.
- TODO: rename class
db8d267 to
8a68d20
Compare
unrelated? |
8a68d20 to
2037cf9
Compare
|
@rullzer @LukasReschke @nicohauger @zkwoob @Alphakilo @jancborchardt @Mar1u5 review and test this please. The personal settings dialog definitely needs some UI/UX enhancements, that I'd like to postpone to follow-up PRs as this one is already rather big. |
|
Does PHPUnit automatically find the test of the newly added app or do I have to register them somewhere? |
4c79aa7 to
12a3ee8
Compare
|
|
let me try to reproduce the failing tests locally… |
|
@MorrisJobke what are the requirements/preconditions to run all tests locally? I get |
(see http://readme.drone.io/devs/cli/) Best is also to remove the running tests from |
|
stack trace: |
* add backup codes app unit tests * add integration tests for the backup codes app
12a3ee8 to
0d4e304
Compare
|
Some dark magic. Seems something was not cleaned up properly or so which caused the whole thing to break down. CI seems a lot happier now ;) |
|
Thank you very much @rullzer 🚀 |
0d4e304 to
581a83c
Compare
|
CI happy. |
|
Works 👍 |
| <licence>agpl</licence> | ||
| <author>Christoph Wurst</author> | ||
| <version>1.0.0</version> | ||
| <namespace>TwoFactor_BackupCodes</namespace> |
There was a problem hiding this comment.
Please, no underscores in PSR-4 Namespaces
integrates https://github.com/ChristophWurst/twofactor_backupcodes and fixes #1108
TODO:
twofactor_backupcodesapp@nextcloud/designers any idea how we could make the settings dialog prettier? See the screenshots in https://github.com/ChristophWurst/twofactor_backupcodes for how it looks now.